Location: SLC transporters @ 35ed757a6b4a / Facilitated transporter / celltext.txt

Author:
Weiwei Ai <wai484@aucklanduni.ac.nz>
Date:
2024-04-11 10:01:25+12:00
Desc:
Make the directions of the charge flow consistent with the SLC 5_0.png
Permanent Source URI:
https://models.physiomeproject.org/workspace/b65/rawfile/35ed757a6b4a9779bf7fc2832ec577a5172d6f81/Facilitated transporter/celltext.txt

** This is the template format for param delcaration
// declare the params K and initial value q for species 1-2, the param kappa for reactions 1
def comp params_BG as
    var K_1: per_fmol{ init: 1, pub: out};
    var K_2: per_fmol {init: 1, pub: out};
    var q_init_1: fmol{ init: 1, pub: out};
    var q_init_2: fmol{ init: 1, pub: out};
    var kappa_1: fmol_per_s { init: 1, pub: out};
enddef;

** This is the template format for param inputs to the model
def comp main as
    var K_1: per_fmol{ pub: in };
    var K_2: per_fmol { pub: in };
    var q_init_1: fmol{ pub: in };
    var q_init_2: fmol{ pub: in };
    var kappa_1: fmol_per_s { pub: in };
    var q_1: fmol{ init: q_init_1, pub: out};
    var q_2: fmol{ init: q_init_2, pub: out};
    var v_1: fmol_per_s;
enddef;

def map between params_BG and main for
    vars K_1 and K_1;
    vars K_2 and K_2;
    vars q_init_1 and q_init_1;
    vars q_init_2 and q_init_2;
    vars kappa_1 and kappa_1;
enddef;

****************************************
// Do not edit the above template!
// declare the params K and initial value q for species 1-6, the param kappa for reactions 1-4
def comp params_BG as
    var K_1: per_fmol{ init: 1, pub: out};
    var K_2: per_fmol {init: 1, pub: out};
    var K_3: per_fmol {init: 1, pub: out};
    var K_4: per_fmol {init: 1, pub: out};
    var K_5: per_fmol {init: 1, pub: out};
    var K_6: per_fmol {init: 1, pub: out};
    var q_init_1: fmol{ init: 1, pub: out};
    var q_init_2: fmol{ init: 1, pub: out};
    var q_init_3: fmol{ init: 1, pub: out};
    var q_init_4: fmol{ init: 1, pub: out};
    var q_init_5: fmol{ init: 1, pub: out};
    var q_init_6: fmol{ init: 1, pub: out};
    var kappa_1: fmol_per_s { init: 1, pub: out};
    var kappa_2: fmol_per_s { init: 1, pub: out};
    var kappa_3: fmol_per_s { init: 1, pub: out};
    var kappa_4: fmol_per_s { init: 1, pub: out};
enddef;

// declare the params K and initial value q for species 1-6, the param kappa for reactions 1-4
def comp main as
    var K_1: per_fmol{ pub: in };
    var K_2: per_fmol { pub: in };
    var K_3: per_fmol { pub: in };
    var K_4: per_fmol { pub: in };
    var K_5: per_fmol { pub: in };
    var K_6: per_fmol { pub: in };
    var q_init_1: fmol{ pub: in };
    var q_init_2: fmol{ pub: in };
    var q_init_3: fmol{ pub: in };
    var q_init_4: fmol{ pub: in };
    var q_init_5: fmol{ pub: in };
    var q_init_6: fmol{ pub: in };
    var kappa_1: fmol_per_s { pub: in };
    var kappa_2: fmol_per_s { pub: in };
    var kappa_3: fmol_per_s { pub: in };
    var kappa_4: fmol_per_s { pub: in };
    var q_1: fmol{ init: q_init_1, pub: out};
    var q_2: fmol{ init: q_init_2, pub: out};
    var q_3: fmol{ init: q_init_3, pub: out};
    var q_4: fmol{ init: q_init_4, pub: out};
    var q_5: fmol{ init: q_init_5, pub: out};
    var q_6: fmol{ init: q_init_6, pub: out};
    var v_1: fmol_per_s;
    var v_2: fmol_per_s;
    var v_3: fmol_per_s;
    var v_4: fmol_per_s;
enddef;

def map between params_BG and main for
    vars K_1 and K_1;
    vars K_2 and K_2;
    vars K_3 and K_3;
    vars K_4 and K_4;
    vars K_5 and K_5;
    vars K_6 and K_6;
    vars q_init_1 and q_init_1;
    vars q_init_2 and q_init_2;
    vars q_init_3 and q_init_3;
    vars q_init_4 and q_init_4;
    vars q_init_5 and q_init_5;
    vars q_init_6 and q_init_6;
    vars kappa_1 and kappa_1;
    vars kappa_2 and kappa_2;
    vars kappa_3 and kappa_3;
    vars kappa_4 and kappa_4;
enddef;